import React from 'react';
import styles from './index.less';

const Loading: React.FC<{ style?: React.CSSProperties; wapperStyle?: React.CSSProperties }> = ({
  style,
  wapperStyle,
}) => {
  return (
    <div className={styles.sk_warrper} style={wapperStyle}>
      <div style={style} className={styles.sk_chase} />
    </div>
  );
};

export default Loading;
